package org.ala.shopping_test.user_center.repository.user.entity;

import java.io.Serializable;
import java.util.List;
import java.util.ArrayList;


/**
 *	EntityFields (user_seller)
 *  卖家表
 *
 *	@author 骆毅 (ala)
 *	@date 2025-03-24 15:03:46
 */
public class UserSellerFields implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;

    /**
     *  卖家id
     */
    public static String Id = "id";
    /**
     *  卖家名称
     */
    public static String SellerName = "seller_name";
    /**
     *  卖家评级
     */
    public static String SellerLevel = "seller_level";
    /**
     *  记录创建时间
     */
    public static String CreateTime = "create_time";
    /**
     *  记录最后修改时间
     */
    public static String ModifyTime = "modify_time";


    /**
     *  本次查询涉及的字段名
     */
    protected List<String> fields;
    public List<String> getFields() {
        return fields;
    }
    public void setFields(List<String> fields) {
        this.fields = fields;
    }
    /**
     *  全部字段
     */
    public static UserSellerFields All() {
        UserSellerFields f = new UserSellerFields();
        List<String> fields = new ArrayList<>();
            fields.add(UserSellerFields.Id);
            fields.add(UserSellerFields.SellerName);
            fields.add(UserSellerFields.SellerLevel);
            fields.add(UserSellerFields.CreateTime);
            fields.add(UserSellerFields.ModifyTime);
        f.fields = fields;
        return f;
    }
    /**
     *  追加 id
     */
    public static UserSellerFields Id() {
        return new UserSellerFields().id();
    }
    public UserSellerFields id() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(UserSellerFields.Id);
        return this;
    }
    /**
     *  追加 seller_name
     */
    public static UserSellerFields SellerName() {
        return new UserSellerFields().sellerName();
    }
    public UserSellerFields sellerName() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(UserSellerFields.SellerName);
        return this;
    }
    /**
     *  追加 seller_level
     */
    public static UserSellerFields SellerLevel() {
        return new UserSellerFields().sellerLevel();
    }
    public UserSellerFields sellerLevel() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(UserSellerFields.SellerLevel);
        return this;
    }
    /**
     *  追加 create_time
     */
    public static UserSellerFields CreateTime() {
        return new UserSellerFields().createTime();
    }
    public UserSellerFields createTime() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(UserSellerFields.CreateTime);
        return this;
    }
    /**
     *  追加 modify_time
     */
    public static UserSellerFields ModifyTime() {
        return new UserSellerFields().modifyTime();
    }
    public UserSellerFields modifyTime() {
        if (fields == null) {fields = new ArrayList<>();}
        fields.add(UserSellerFields.ModifyTime);
        return this;
    }
}